$routeChangeStart
( service in module ng
)
Broadcasted before a route change. At this point the route services starts
resolving all of the dependencies needed for the route change to occurs.
Typically this involves fetching the view template as well as any dependencies
defined in resolve
route property. Once all of the dependencies are resolved
$routeChangeSuccess
is fired.